package com.winsdom.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@ApiModel(value = "未结清单查询参数", description = " 查询条件")
public class UnclearedDTO {

    @ApiModelProperty(value = "当前页码" ,example = "1")
    @NotNull(message = "当前页码不能为空")
    private Integer currentPage ;

    @ApiModelProperty(value = "每页条数" ,example = "10")
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize ;

    @ApiModelProperty(value = "账单编号" ,example = "2023100001")
    private Long billNumber ;

    @ApiModelProperty(value = "楼盘名称" ,example = "海王星大厦")
    @Size(max = 20, message = "楼盘名称长度不能超过50个字符")
    private String projectName;

    @ApiModelProperty(value = "客户名称" ,example = "测试企业")
    @Size(max = 20, message = "客户名称长度不能超过50个字符")
    private String customerName;
}
